<script>
export default {
  globalData: {
    tabbarList: [{
      iconPath: 'home',
      selectedIconPath: 'home-fill',
      text: '首页',
      customIcon: false,
      pagePath: '/pages/home/index',
    },
    {
      iconPath: '/static/min_button.png',
      selectedIconPath: '/static/min_button_select.png',
      text: '模板',
      midButton: true,
      customIcon: false,
      pagePath: '/pages/template/index',
    },
    {
      iconPath: 'account',
      selectedIconPath: 'account-fill',
      text: '个人中心',
      customIcon: false,
      pagePath: '/pages/user/index',
    }], // 导航数据 - pages.json 配置对应的 tabBar 数据
  },
  onLaunch() {
    console.warn('App Launch');
    console.warn('this.$u.config.v :>> ', this.$u.config.v);
  },
  onShow() {
    console.warn('App Show');
  },
  onHide() {
    console.warn('App Hide');
  },
};
</script>

<style lang="scss">
  /*每个页面公共css */
  @import "uview-ui/index.scss";
</style>
